#include "Consultation.h"


Consultation::Consultation(){

}

Consultation::Consultation(unsigned short number,float price,Doctor doctor, Client pacient)	{
	setNumber(number); setPrice(price); 
	setDoctor(doctor); setPacient(pacient);
}

Consultation::~Consultation(){

}

unsigned short Consultation::getNumber(){
	return number;
}


void Consultation::setNumber(unsigned short number){
	this->number = number;
}

float Consultation::getPrice(){
	return price;
}


void Consultation::setPrice(float price){
	this->price = price
}

Doctor Consultation::getDoctor(){
	return doctor;
}
void Consultation::setDoctor(Doctor doctor){
	this->doctor = doctor;
}
Client Consultation::getPacient(){
	return pacient;
}
void Consultation::setPacient(Client pacient){
	this->pacient = pacient;
}

//TODO
ostream & operator<< (ostream & os, const Consultation & consultation) {
    return os;
}

//TODO: careful with exceptions for 'strange' inputs.
istream & operator>> (istream & is, const Consultation & consultation) {
    return is;
}